<?php
class menuModel extends Model
{
    protected $_validate = array(
        array("name", "require", "name不能为空"),
        array("parentid", "integer", "parentid不是整数"),
    );
}
?>